<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>喜欢多云的季节i</title>
    <link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">

    <!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
    <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>

    <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
    <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="https://code.jquery.com/jquery-3.0.0.min.js"></script>

    <script type="text/javascript" src="js/playview.js"></script>
    <style type="text/css">
        .myimg {
            margin-top:15px;
            width: 30px;
            height: 30px;
        }

        body {
            background-color: rgb(242,242,242);
        }
        .imgBox{
            width: 1200px;
            height: 340px;
            margin: 0 auto;

        }

        .imgBox img{
            width: 1200px;
            height: 340px;
            margin: 0 auto;
            padding-top: 0px;

        }

        .img1{
            display: block;
        }

        .img2{
            display: none;
        }

        .img3{
            display: none;
        }
        .mydiv {
            margin: 0 auto;
        }
        .mydiv .mylink {
            height: 30px;
            font-size: 17px;
            margin-top: 20px;
            vertical-align: center;
            display: block;
            float: left;
            margin-left: 70px;
            color: black;
        }
    </style>

</head>
<body>
<nav class="navbar navbar-inverse">
    <div class="container-fluid" style="align-content: center">
        <!-- Brand and toggle get grouped for better mobile display -->
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="#">喜欢多云的季节</a>
        </div>
        <!-- Collect the nav links, forms, and other content for toggling -->
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav" style="align-content: center">
                <li class="active"><a th:href="@{/user/selectAllUser}" target="iframe">用户管理 <span class="sr-only">(current)</span></a></li>
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">图片管理分类 <span class="caret"></span></a>
                    <ul class="dropdown-menu">
                        <li><a th:href="@{/scenery/getAllScenerys(tablename='scenery')}" target="iframe">风景</a></li>
                        <li><a th:href="@{/scenery/getAllScenerys(tablename='galaxy')}" target="iframe">星空</a></li>
                        <li><a th:href="@{/scenery/getAllScenerys(tablename='game')}" target="iframe">游戏</a></li>
                        <li><a th:href="@{/scenery/getAllScenerys(tablename='anime')}" target="iframe">动漫</a></li>
                        <li><a th:href="@{/scenery/getAllScenerys(tablename='beauty')}" target="iframe">美女</a></li>
                        <li><a th:href="@{/scenery/getAllScenerys(tablename='animal')}" target="iframe">动物</a></li>
                        <li><a th:href="@{/scenery/getAllScenerys(tablename='lastnew')}" target="iframe">最新</a></li>
                        <li><a th:href="@{/scenery/getAllScenerys(tablename='trends')}" target="iframe">动态</a></li>
                        <li><a th:href="@{/scenery/getAllScenerys(tablename='phone')}" target="iframe">手机壁纸</a></li>
                    </ul>
                </li>
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">通知管理 <span class="caret"></span></a>
                    <ul class="dropdown-menu">
                        <li><a th:href="@{/admin/getAllNotice}" target="iframe">查看</a></li>
                    </ul>
                </li>
                <!--<li class="dropdown">
                    <a th:href="@{/user/selectAllUser}" class="dropdown-toggle" target="iframe">通知管理 <span class="caret"></span></a>
                    <ul class="dropdown-menu">
                        <li><a href="#">查看通知</a></li>
                        <li><a th:href="@{/scenery/getAllSceneryss(tablename='phone')}" target="iframe">发布通知</a></li>
                    </ul>
                </li>-->
                <li class="active"><a th:href="@{/admin/toEmail}">邮箱发送 <span class="sr-only">(current)</span></a></li>
                <li class="active"><a th:href="@{/logs/toLogs}" target="iframe">登录日志 <span class="sr-only">(current)</span></a></li>
            </ul>
            <form class="navbar-form navbar-left" th:action="@{/scenery/searchByName}" target="iframe">
                <div class="form-group">
                    <input type="text" class="form-control" placeholder="根据图片名称查询" name="myname">
                </div>
                <button type="submit" class="btn btn-default">查询</button>
            </form>
            <ul class="nav navbar-nav navbar-right">
                <li><img th:src="@{${session.visitor.image}}" class="myimg"></li>
                <li class="dropdown" style="color: white">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" th:text="${session.visitor.account}" aria-expanded="false" > <span class="caret"></span></a>
                    <ul class="dropdown-menu">
                        <li><a th:href="@{/user/toUpdateInformation}">修改信息</a></li>
                        <li><a th:href="'/user/collect?collect='+${session.visitor.collect}" target="iframe">我的收藏</a></li>
                        <li><a th:href="@{/logout}">退出</a></li>
                    </ul>
            </ul>
        </div><!-- /.navbar-collapse -->
    </div><!-- /.container-fluid -->
</nav>
<!--<img src="images/scenery/5.jpg" />-->

<iframe class="embed-responsive-item" th:src="@{/admin/welcome}" NAME="iframe" style="width: 1200px;height: 1300px;margin-left: 160px;" scrolling="no" frameborder="no" >
</iframe>
<script src="https://cdn.jsdelivr.net/npm/jquery/dist/jquery.min.js"></script>
<!--人物动画效果-->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/font-awesome/css/font-awesome.min.css"/>
<script src="https://cdn.jsdelivr.net/gh/stevenjoezhang/live2d-widget/autoload.js"></script>
</body>
</html>